package com.cloud.drore.eboss.supplier.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.cloud.drore.eboos.common.base.BaseEntity;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Table;

/**
 * 浙江卓锐科技股份有限公司 版权所有  Copyright 2018<br>
 *
 * @Description: 供应商实体类<br>
 * @Project: eboos <br>
 * @CreateDate: Created in 2018/1/8 10:36 <br>
 * @Author: <a href="575842778@qq.com">郑永涛</a>
 */
@Data
@Table(name = "eboos_supplier")
public class Supplier extends BaseEntity<Long> {

    /** 商户名称 */
    @JsonProperty("merchant_name")
    @JSONField(name = "merchant_name")
    @ApiModelProperty(name = "merchant_name", notes = "商户名称", example = "宋城集团")
    private String merchantName;

    /** 商户id */
    @JsonProperty("merchant_id")
    @JSONField(name = "merchant_id")
    @ApiModelProperty(name = "merchant_id", notes = "商户id", example = "80")
    private String merchantId;

    /** 用户名称 */
    @JsonProperty("user_name")
    @JSONField(name = "user_name")
    @ApiModelProperty(name = "user_name", notes = "用户名称", example = "李某某")
    private String userName;

    /** 用户手机号 */
    @JsonProperty("user_phone")
    @JSONField(name = "user_phone")
    @ApiModelProperty(name = "user_phone", notes = "用户手机号", example = "13588888888")
    private String userPhone;

    /** 用户账号 */
    @JsonProperty("user_account")
    @JSONField(name = "user_account")
    @ApiModelProperty(name = "user_account", notes = "用户账号", example = "kaifa@drore.com")
    private String userAccount;

    /** 用户状态 */
    @JsonProperty("user_status")
    @JSONField(name = "user_status")
    @ApiModelProperty(name = "user_status", notes = "用户状态", example = "冻结")
    private String userStatus;

    /** 用户密码 */
    @JsonProperty("user_password")
    @JSONField(name = "user_password")
    @ApiModelProperty(name = "user_password", notes = "用户密码", example = "55555")
    private String userPassword;

    /** 用户头像 */
    @JsonProperty("user_image")
    @JSONField(name = "user_image")
    @ApiModelProperty(name = "user_image", notes = "用户头像", example = "1.img")
    private String userImage;

    public interface SAVE{};

}